package com.redoor.app.stake.basicdata.service;

import com.redoor.app.stake.basicdata.model.BaseStakeOrgIndex;
import com.redoornetwork.framework.mybatis.service.Service;

/**
 * Created by wangjunlei on 2018-03-13 17:22:44.
 */
public interface BaseStakeOrgIndexService extends Service<BaseStakeOrgIndex, String> {

    /**
     * 获取组织机构最大数目
     * @param orgNo
     * @return
     */
    Double getStakeIndexByOrgNo(String orgNo);

    /**
     * 获取对象
     * @param orgno
     * @return
     */
    BaseStakeOrgIndex findByOrgNo(String orgno);

    int save(BaseStakeOrgIndex stakeIndexByOrgNo);

}
